import request from '@/utils/request'

// 查询压力数据记录列表
export function listDispatchPressureDataRecords(query) {
  return request({
    url: '/system/dispatchPressureDataRecords/list',
    method: 'get',
    params: query
  })
}

// 查询压力数据记录详细
export function getDispatchPressureDataRecords(pressureDataRecordsId) {
  return request({
    url: '/system/dispatchPressureDataRecords/' + pressureDataRecordsId,
    method: 'get'
  })
}

// 新增压力数据记录
export function addDispatchPressureDataRecords(data) {
  return request({
    url: '/system/dispatchPressureDataRecords',
    method: 'post',
    data: data
  })
}

// 修改压力数据记录
export function updateDispatchPressureDataRecords(data) {
  return request({
    url: '/system/dispatchPressureDataRecords',
    method: 'put',
    data: data
  })
}

// 删除压力数据记录
export function delDispatchPressureDataRecords(pressureDataRecordsId) {
  return request({
    url: '/system/dispatchPressureDataRecords/' + pressureDataRecordsId,
    method: 'delete'
  })
}
